package net.dgg.dggcloud.service.jrcrm.entity.orf;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author 鲜林材
 * 子订单信息表
 * @create 2017-11-06 16:01
 **/
@Entity
@Table(name = "orf_order_business")
public class OrderBusiness extends BaseEntity {
    //数据库表名
    public static final String TABLE_NAME = "orf_order_business";

    @Column(name = "order_business_no")
    private  String  orderBusinessNo;//子订单编号

    @Column(name = "status")
    private String status;//子订单状态

    @Column(name = "order_id")
    private  Long orderId;//订单ID

    @Column(name = "bt_name")
    private  String btName;//业务名称

    @Column(name = "bt_identifying")
    private  String btIdentifying;//业务标识

    @Column(name = "type_identifying")
    private  String typeIdentifying;//类型标识

    @Column(name = "product_id")
    private  Long productId;//产品id

    @Column(name = "service_charge")
    private  String serviceCharge;//手续费(%)

    @Column(name = "rate_type")
    private  String rateType;//利率方式

    @Column(name = "loans_amount")
    private  Long loansAmount;//贷款额度(单位分)

    @Column(name = "flow_user_id")
    private  Long flowUserId;//流程人员id

    @Column(name = "contract_no")
    private  String contractNo;//合同编号

    @Column(name = "channel_id")
    private Long channelId;//渠道

    @Column(name = "organization_id")
    private  Long organizationId;//事业部id

    public Long getChannelId() {
        return channelId;
    }

    public void setChannelId(Long channelId) {
        this.channelId = channelId;
    }

    public String getOrderBusinessNo() {
        return orderBusinessNo;
    }

    public void setOrderBusinessNo(String orderBusinessNo) {
        this.orderBusinessNo = orderBusinessNo;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getBtName() {
        return btName;
    }

    public void setBtName(String btName) {
        this.btName = btName;
    }

    public String getBtIdentifying() {
        return btIdentifying;
    }

    public void setBtIdentifying(String btIdentifying) {
        this.btIdentifying = btIdentifying;
    }

    public String getTypeIdentifying() {
        return typeIdentifying;
    }

    public void setTypeIdentifying(String typeIdentifying) {
        this.typeIdentifying = typeIdentifying;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getServiceCharge() {
        return serviceCharge;
    }

    public void setServiceCharge(String serviceCharge) {
        this.serviceCharge = serviceCharge;
    }

    public String getRateType() {
        return rateType;
    }

    public void setRateType(String rateType) {
        this.rateType = rateType;
    }

    public Long getLoansAmount() {
        return loansAmount;
    }

    public void setLoansAmount(Long loansAmount) {
        this.loansAmount = loansAmount;
    }

    public Long getFlowUserId() {
        return flowUserId;
    }

    public void setFlowUserId(Long flowUserId) {
        this.flowUserId = flowUserId;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public Long getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(Long organizationId) {
        this.organizationId = organizationId;
    }
}
